"""
@Time : 2021/9/15 19:47 
@Author : 常雷
@File : t_11数据区别.py 
@Software: PyCharm
"""
a = [1, 2, 3]
b = [(1), (2), (3)]
c = [(1,), (2,), (3,)]
# 问a,b,c有什么区别?
d = (1)     # ()默认情况下表示的是运算的优先级
print(type(d))  # <class 'int'>

# 元组赋值方法
e = (1,)
print(e, type(e))   # (1,) <class 'tuple'>

print(a, type(a))
print(b, type(b))
print(c, type(c))